home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-03.Z / 94-03 / text0097.txt < prev    next >
Encoding:
Text File  |  1994-03-30  |  5.4 KB  |  131 lines

  1. Can someone help me, I'm sure there's a simple solution to this behaviour.
  2.  
  3. When I build my winsock application I link in the winsock.lib file. When the application starts, if it cannot find a winsock.dll anywhere in the path then it bombs out with a system modal "Cannot find WINSOCK.DLL" and the application never
  4. starts. This message occurs before my applcaition starts and reaches the point
  5. where I call WSAStartUp to test for a valid WINSOCK.DL
  6. If none is found I handle that error correctly, but of course I can't test this since the app
  7. never starts.
  8. I have tried the following to track down what's occurring
  9. 1./ I break just before the first winsock call I ever make (WSAStartUp)
  10. 2./ I try and load the DLL directly using loadlibrary to see if that fails
  11. 3./ Break at the very start of my program
  12.  
  13. None of these work if there is NO winsock.dll anywhere in the search path
  14.  
  15. I suspect some startup code has been linked into my app and it is that which is failing. I have tried several winsock.lib's. They are all 4096 bytes long and vary in date.
  16.  
  17. Has anyone seen this?
  18. Has anyone fixed this?
  19. Who actually controls the winsock.lib
  20. Is there source code for it?
  21.  
  22. Hope you can help
  23.  
  24. Paul
  25. paul@insitu.com
  26. From news@bigblue.oit.unc.edu Mon Mar  7 18:25:43 1994
  27. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  28.           id AA19351; Tue, 8 Mar 1994 00:28:07 -0500
  29. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  30.           id AA26784; Tue, 8 Mar 1994 00:16:19 -0500
  31. Received: from GATEWAY by bigblue with netnews
  32.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  33. To: winsock@sunsite.unc.edu
  34. Date: Mon, 7 Mar 1994 23:25:43 EST
  35. From: patlee@panix.com (Patrick Lee)
  36. Message-Id: <patlee.322.004BCF9E@panix.com>
  37. Organization: E-mail about Stuyvesant H.S. Alumni E-mail Directory
  38. Sender: ses
  39. References: <2lg4e0$2pa@news.kth.se>
  40. Subject: Re: Q: Trumpet Wsock, multiple DNS?
  41.  
  42. In article <2lg4e0$2pa@news.kth.se> niklas@heat.kth.se (Niklas Agren) writes:
  43.  
  44. >I'd like to specify two DNS nameserver. Sometimes 
  45. >one of our two is down.  What is the syntax? 
  46.  
  47. Just put another one in separated by space - though I have not had the 
  48. first DNS fail to test it out yet. 8-(
  49.  
  50. --
  51. Patrick Lee <patlee@panix.com>
  52. From news@bigblue.oit.unc.edu Tue Mar  8 04:32:12 1994
  53. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  54.           id AA19380; Tue, 8 Mar 1994 00:28:21 -0500
  55. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  56.           id AA19618; Tue, 8 Mar 1994 00:18:56 -0500
  57. Received: from GATEWAY by bigblue with netnews
  58.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  59. To: winsock@sunsite.unc.edu
  60. Date: Tue, 8 Mar 1994 04:32:12 GMT
  61. From: ashok@biochemistry.BIOC.CWRU.Edu (Ashok Aiyar)
  62. Message-Id: <ashok.492.2D7BFFCB@biochemistry.cwru.edu>
  63. Organization: Department of Biochemistry, Case Western Reserve University
  64. Sender: ses
  65. References: <hagberg.2.00C5881E@med.cornell.edu>
  66. Subject: Re: View.exe command-line opts?
  67.  
  68. In article <hagberg.2.00C5881E@med.cornell.edu> hagberg@med.cornell.edu (Eric Hagberg) writes:
  69.  
  70. >Is there a command-line option for the view.exe program that comes bundled in 
  71. >Peter Tattam's Trumpet Winsock that allows one to choose a different font, 
  72. >other than the one that comes up by default when viewing a file? I'd like the 
  73. >font to be mono-spaced rather than proportional.
  74.  
  75.  
  76. Yes, you can choose both the font and the size as command line options.
  77. The syntax is: "view -font=fontname -size=point-size filename", where
  78. filename is the file you wish to view.
  79.  
  80. You may wish to use Courier or CourierNew.
  81.  
  82. Later,
  83. Ashok
  84.  
  85.  
  86. --
  87. Ashok Aiyar                        Mail: ashok@biochemistry.cwru.edu
  88. Department of Biochemistry                       Tel: (216) 368-3300
  89. CWRU School of Medicine, Cleveland, Ohio         Fax: (216) 368-4544
  90. MIME Enclosures OK
  91. From news@bigblue.oit.unc.edu Sun Mar  6 22:12:16 1994
  92. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  93.           id AA21406; Tue, 8 Mar 1994 00:58:05 -0500
  94. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  95.           id AA22226; Tue, 8 Mar 1994 00:41:40 -0500
  96. Received: from GATEWAY by bigblue with netnews
  97.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  98. To: winsock@sunsite.unc.edu
  99. Date: Sun, 6 Mar 1994 22:12:16 GMT
  100. From: rmt@gwd.dsto.gov.au (RUSSELL THAMM)
  101. Message-Id: <rmt.158.2D7A5540@gwd.dsto.gov.au>
  102. Organization: Guided Weapons Division
  103. Sender: ses
  104. References: <CLw2n9.JBs@usenet.ucs.indiana.edu>
  105. Subject: Re: XWin Problem ?
  106.  
  107. In article <CLw2n9.JBs@usenet.ucs.indiana.edu> bnutter@silver.ucs.indiana.edu (Brandon Nutter) writes:
  108.  
  109. >I'm running xwindemo and am connected via ethernet to my university.
  110. >Everything seems to work well, except that after being connected for a
  111. >while, sometimes it won't let me open new windows.  I'll try to run a
  112. >program in it's own window and I'll get an error message something
  113. >like "cannot open <my_ip#>:0.0", where the same command might have
  114. >worked just a little while before.  All the windows that are already
  115. >open seem uneffected, but the only way to open a new window is to quit
  116. >Xwin and start up again.
  117.  
  118. ----------------
  119. Perhaps you've run out of sockets. You may be able to configure your
  120. TCP/IP stack for more sockets. For instance with LWP, add the following
  121. lines to NET.CFG to increase the TCP and UDP sockets from the default
  122. of 8 to 16:
  123.  
  124. PROTOCOL TCPIP
  125.         tcp_sockets 16
  126.         udp_sockets 16
  127.  
  128.  
  129. ============================================================================
  130.  
  131.